# 剑指 Offer 58 - II. 左旋转字符串
# https://leetcode-cn.com/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof/

class Solution:
    def reverseLeftWords(self, s: str, n: int) -> str:
        return s[n:]+s[0:n]


if __name__ == '__main__':
    print(Solution().reverseLeftWords("lrloseumgh",6))